﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditExpenseCtrl.ascx.cs" Inherits="WebUI.Controls.EditExpenseCtrl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Panel ID="mainPanel" runat="server" CssClass="primaryFrameNoBorder">
   <table>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="lblname" runat="server" Text="Title:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top" colspan="3">
                <asp:TextBox Width="293px" ID="txtTitle" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="require1" runat="server" ControlToValidate="txtTitle" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="<br/>required" Text="<br/>required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label1" runat="server" Text="Amount:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox Width="105px" ID="txtAmount" onfocus='this.select();' runat="server"></asp:TextBox>
                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" TargetControlID="txtAmount" FilterType="Numbers,Custom" ValidChars=".-" runat="server">
                </cc1:FilteredTextBoxExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtAmount" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="<br/>required" Text="<br/>required"></asp:RequiredFieldValidator>
            </td>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label2" runat="server" Text="Invoice#:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox  Width="105px"  ID="txtInvoiceNo" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label3" runat="server" Text="Purchaser:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox  Width="105px"  ID="txtPurchaser" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPurchaser" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="<br/>required" Text="<br/>required"></asp:RequiredFieldValidator>
            </td>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label4" runat="server" Text="Date:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox  Width="105px"  ID="txtDate" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="ccDate" runat="server" TargetControlID="txtDate" Format="dd MMM yyyy">
                </cc1:CalendarExtender>
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator3"
                    runat="server" ControlToValidate="txtDate" class="requiredField" Text="<br/>required"
                    ErrorMessage="<br/>required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label5" runat="server" Text="Description:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top" colspan="3">
                <asp:TextBox ID="txtDesc" Width="300px" Rows="5" TextMode="MultiLine" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label6" runat="server" Text="Payment:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top" colspan="3">
                <asp:DropDownList ID="ddlPaymentMethod" runat="server"></asp:DropDownList>
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator4"
                    runat="server" ControlToValidate="ddlPaymentMethod" class="requiredField" Text="<br/>required"
                    ErrorMessage="<br/>required"></asp:RequiredFieldValidator>
            </td>
        </tr>
   </table>
</asp:Panel>